#include"dao_QtHelp.h"

void Dao_PutQListP_QAbstractButton( DaoContext *ctx, const QListP_QAbstractButton & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QAbstractButton_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QAbstractButton( DaoList *dlist, QListP_QAbstractButton & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QAbstractButton_Typer ) ) continue;
		qlist.append( (QAbstractButton*) DValue_CastCData( & it, dao_QAbstractButton_Typer ) );
	}
}

void Dao_PutQListP_QAction( DaoContext *ctx, const QListP_QAction & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QAction_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QAction( DaoList *dlist, QListP_QAction & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QAction_Typer ) ) continue;
		qlist.append( (QAction*) DValue_CastCData( & it, dao_QAction_Typer ) );
	}
}

void Dao_PutQListP_QDockWidget( DaoContext *ctx, const QListP_QDockWidget & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QDockWidget_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QDockWidget( DaoList *dlist, QListP_QDockWidget & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QDockWidget_Typer ) ) continue;
		qlist.append( (QDockWidget*) DValue_CastCData( & it, dao_QDockWidget_Typer ) );
	}
}

void Dao_PutQListP_QGraphicsItem( DaoContext *ctx, const QListP_QGraphicsItem & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QGraphicsItem_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QGraphicsItem( DaoList *dlist, QListP_QGraphicsItem & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QGraphicsItem_Typer ) ) continue;
		qlist.append( (QGraphicsItem*) DValue_CastCData( & it, dao_QGraphicsItem_Typer ) );
	}
}

void Dao_PutQListP_QGraphicsView( DaoContext *ctx, const QListP_QGraphicsView & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QGraphicsView_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QGraphicsView( DaoList *dlist, QListP_QGraphicsView & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QGraphicsView_Typer ) ) continue;
		qlist.append( (QGraphicsView*) DValue_CastCData( & it, dao_QGraphicsView_Typer ) );
	}
}

void Dao_PutQListP_QGraphicsWidget( DaoContext *ctx, const QListP_QGraphicsWidget & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QGraphicsWidget_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QGraphicsWidget( DaoList *dlist, QListP_QGraphicsWidget & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QGraphicsWidget_Typer ) ) continue;
		qlist.append( (QGraphicsWidget*) DValue_CastCData( & it, dao_QGraphicsWidget_Typer ) );
	}
}

void Dao_PutQListP_QListWidgetItem( DaoContext *ctx, const QListP_QListWidgetItem & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QListWidgetItem_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QListWidgetItem( DaoList *dlist, QListP_QListWidgetItem & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QListWidgetItem_Typer ) ) continue;
		qlist.append( (QListWidgetItem*) DValue_CastCData( & it, dao_QListWidgetItem_Typer ) );
	}
}

void Dao_PutQListP_QMdiSubWindow( DaoContext *ctx, const QListP_QMdiSubWindow & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QMdiSubWindow_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QMdiSubWindow( DaoList *dlist, QListP_QMdiSubWindow & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QMdiSubWindow_Typer ) ) continue;
		qlist.append( (QMdiSubWindow*) DValue_CastCData( & it, dao_QMdiSubWindow_Typer ) );
	}
}

void Dao_PutQListP_QStandardItem( DaoContext *ctx, const QListP_QStandardItem & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QStandardItem_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QStandardItem( DaoList *dlist, QListP_QStandardItem & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QStandardItem_Typer ) ) continue;
		qlist.append( (QStandardItem*) DValue_CastCData( & it, dao_QStandardItem_Typer ) );
	}
}

void Dao_PutQListP_QTableWidgetItem( DaoContext *ctx, const QListP_QTableWidgetItem & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QTableWidgetItem_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QTableWidgetItem( DaoList *dlist, QListP_QTableWidgetItem & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QTableWidgetItem_Typer ) ) continue;
		qlist.append( (QTableWidgetItem*) DValue_CastCData( & it, dao_QTableWidgetItem_Typer ) );
	}
}

void Dao_PutQListP_QTextFrame( DaoContext *ctx, const QListP_QTextFrame & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QTextFrame_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QTextFrame( DaoList *dlist, QListP_QTextFrame & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QTextFrame_Typer ) ) continue;
		qlist.append( (QTextFrame*) DValue_CastCData( & it, dao_QTextFrame_Typer ) );
	}
}

void Dao_PutQListP_QTreeWidgetItem( DaoContext *ctx, const QListP_QTreeWidgetItem & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QTreeWidgetItem_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QTreeWidgetItem( DaoList *dlist, QListP_QTreeWidgetItem & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QTreeWidgetItem_Typer ) ) continue;
		qlist.append( (QTreeWidgetItem*) DValue_CastCData( & it, dao_QTreeWidgetItem_Typer ) );
	}
}

void Dao_PutQListP_QUndoStack( DaoContext *ctx, const QListP_QUndoStack & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QUndoStack_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QUndoStack( DaoList *dlist, QListP_QUndoStack & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QUndoStack_Typer ) ) continue;
		qlist.append( (QUndoStack*) DValue_CastCData( & it, dao_QUndoStack_Typer ) );
	}
}

void Dao_PutQListP_QWidget( DaoContext *ctx, const QListP_QWidget & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_Wrap( dao_QWidget_Typer, qlist[i] );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQListP_QWidget( DaoList *dlist, QListP_QWidget & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QWidget_Typer ) ) continue;
		qlist.append( (QWidget*) DValue_CastCData( & it, dao_QWidget_Typer ) );
	}
}

void Dao_PutQList_QPolygonF( DaoContext *ctx, const QList_QPolygonF & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QPolygonF_Typer, new QPolygonF( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQList_QPolygonF( DaoList *dlist, QList_QPolygonF & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QPolygonF_Typer ) ) continue;
		qlist.append( *(QPolygonF*) DValue_CastCData( & it, dao_QPolygonF_Typer ) );
	}
}

void Dao_PutQVector_QColor( DaoContext *ctx, const QVector_QColor & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QColor_Typer, new QColor( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QColor( DaoList *dlist, QVector_QColor & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QColor_Typer ) ) continue;
		qlist.append( *(QColor*) DValue_CastCData( & it, dao_QColor_Typer ) );
	}
}

void Dao_PutQVector_QLine( DaoContext *ctx, const QVector_QLine & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QLine_Typer, new QLine( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QLine( DaoList *dlist, QVector_QLine & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QLine_Typer ) ) continue;
		qlist.append( *(QLine*) DValue_CastCData( & it, dao_QLine_Typer ) );
	}
}

void Dao_PutQVector_QLineF( DaoContext *ctx, const QVector_QLineF & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QLineF_Typer, new QLineF( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QLineF( DaoList *dlist, QVector_QLineF & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QLineF_Typer ) ) continue;
		qlist.append( *(QLineF*) DValue_CastCData( & it, dao_QLineF_Typer ) );
	}
}

void Dao_PutQVector_QPoint( DaoContext *ctx, const QVector_QPoint & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QPoint_Typer, new QPoint( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QPoint( DaoList *dlist, QVector_QPoint & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QPoint_Typer ) ) continue;
		qlist.append( *(QPoint*) DValue_CastCData( & it, dao_QPoint_Typer ) );
	}
}

void Dao_PutQVector_QPointF( DaoContext *ctx, const QVector_QPointF & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QPointF_Typer, new QPointF( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QPointF( DaoList *dlist, QVector_QPointF & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QPointF_Typer ) ) continue;
		qlist.append( *(QPointF*) DValue_CastCData( & it, dao_QPointF_Typer ) );
	}
}

void Dao_PutQVector_QRect( DaoContext *ctx, const QVector_QRect & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QRect_Typer, new QRect( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QRect( DaoList *dlist, QVector_QRect & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QRect_Typer ) ) continue;
		qlist.append( *(QRect*) DValue_CastCData( & it, dao_QRect_Typer ) );
	}
}

void Dao_PutQVector_QRectF( DaoContext *ctx, const QVector_QRectF & qlist )
{
	DaoList *dlist = DaoContext_PutList( ctx );
	DValue it = { DAO_CDATA, 0, 0, 0, {0} };
	int i, m = qlist.size();
	for(i=0; i<m; i++){
		it.v.cdata = DaoCData_New( dao_QRectF_Typer, new QRectF( qlist[i] ) );
		DaoList_PushBack( dlist, it );
	}
}
void Dao_GetQVector_QRectF( DaoList *dlist, QVector_QRectF & qlist )
{
	int i, m = DaoList_Size( dlist );
	for(i=0; i<m; i++){
		DValue it = DaoList_GetItem( dlist, i );
		if( it.t != DAO_CDATA ) continue;
		if( ! DaoCData_IsType( it.v.cdata, dao_QRectF_Typer ) ) continue;
		qlist.append( *(QRectF*) DValue_CastCData( & it, dao_QRectF_Typer ) );
	}
}

#ifdef __cplusplus
extern "C"{
#endif

/*  qhelpsearchengine.h */


static DaoNumItem dao_FieldName_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_FieldName_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_FieldName_Delete( void *self )
{
	free( self );
}

static DaoTypeBase FieldName_Typer = 
{ "FieldName", NULL, 
  dao_FieldName_Nums,
  dao_FieldName_Meths, 
  { 0 },
  { 0 },
  Dao_FieldName_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_FieldName_Typer = & FieldName_Typer;

/*  qhelpcontentwidget.h */


static DaoNumItem dao_QHelpContentItem_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHelpContentItem_child( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentItem_childCount( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentItem_childPosition( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentItem_parent( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentItem_row( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentItem_title( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentItem_url( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpContentItem_Meths[] = 
{
  { dao_QHelpContentItem_child, "child( self : QHelpContentItem, row : int )=>QHelpContentItem" },
  { dao_QHelpContentItem_childCount, "childCount( self : QHelpContentItem )=>int" },
  { dao_QHelpContentItem_childPosition, "childPosition( self : QHelpContentItem, child : QHelpContentItem )=>int" },
  { dao_QHelpContentItem_parent, "parent( self : QHelpContentItem )=>QHelpContentItem" },
  { dao_QHelpContentItem_row, "row( self : QHelpContentItem )=>int" },
  { dao_QHelpContentItem_title, "title( self : QHelpContentItem )=>string" },
  { dao_QHelpContentItem_url, "url( self : QHelpContentItem )=>QUrl" },
  { NULL, NULL }
};
static void Dao_QHelpContentItem_Delete( void *self )
{
	delete (QHelpContentItem*) self;
}

static DaoTypeBase QHelpContentItem_Typer = 
{ "QHelpContentItem", NULL, 
  dao_QHelpContentItem_Nums,
  dao_QHelpContentItem_Meths, 
  { 0 },
  { 0 },
  Dao_QHelpContentItem_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpContentItem_Typer = & QHelpContentItem_Typer;
/* qhelpcontentwidget.h */
static void dao_QHelpContentItem_child( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentItem* self= (QHelpContentItem*) DValue_CastCData( _p[0], dao_QHelpContentItem_Typer );
  int row= (int) _p[1]->v.i;
  QHelpContentItem* _child = self->QHelpContentItem::child( row );
  DaoContext_WrapCData( _ctx, (void*) _child, dao_QHelpContentItem_Typer );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentItem_childCount( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentItem* self= (QHelpContentItem*) DValue_CastCData( _p[0], dao_QHelpContentItem_Typer );
  int _childCount = self->QHelpContentItem::childCount(  );
  DaoContext_PutInteger( _ctx, (int) _childCount );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentItem_childPosition( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentItem* self= (QHelpContentItem*) DValue_CastCData( _p[0], dao_QHelpContentItem_Typer );
  QHelpContentItem* child= (QHelpContentItem*) DValue_CastCData( _p[1], dao_QHelpContentItem_Typer );
  int _childPosition = self->QHelpContentItem::childPosition( child );
  DaoContext_PutInteger( _ctx, (int) _childPosition );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentItem_parent( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentItem* self= (QHelpContentItem*) DValue_CastCData( _p[0], dao_QHelpContentItem_Typer );
  QHelpContentItem* _parent = self->QHelpContentItem::parent(  );
  DaoContext_WrapCData( _ctx, (void*) _parent, dao_QHelpContentItem_Typer );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentItem_row( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentItem* self= (QHelpContentItem*) DValue_CastCData( _p[0], dao_QHelpContentItem_Typer );
  int _row = self->QHelpContentItem::row(  );
  DaoContext_PutInteger( _ctx, (int) _row );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentItem_title( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentItem* self= (QHelpContentItem*) DValue_CastCData( _p[0], dao_QHelpContentItem_Typer );
  QString _title = self->QHelpContentItem::title(  );
  DaoContext_PutMBString( _ctx, _title.toLocal8Bit().data() );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentItem_url( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentItem* self= (QHelpContentItem*) DValue_CastCData( _p[0], dao_QHelpContentItem_Typer );
  QUrl _url = self->QHelpContentItem::url(  );
  DaoContext_PutCData( _ctx, (void*)new QUrl( _url ), dao_QUrl_Typer );
}

/*  qhelpcontentwidget.h */


static DaoNumItem dao_QHelpContentModel_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHelpContentModel_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentModel_columnCount( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentModel_contentItemAt( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentModel_createContents( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentModel_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentModel_index( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentModel_isCreatingContents( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentModel_parent( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentModel_rowCount( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpContentModel_Meths[] = 
{
  { dao_QHelpContentModel_qobject_cast, "qobject_cast( object : QObject )=>QHelpContentModel" },
  { dao_QHelpContentModel_columnCount, "columnCount( self : QHelpContentModel, parent : QModelIndex|null=null )=>int" },
  { dao_QHelpContentModel_contentItemAt, "contentItemAt( self : QHelpContentModel, index : QModelIndex )=>QHelpContentItem" },
  { dao_QHelpContentModel_createContents, "createContents( self : QHelpContentModel, customFilterName : string )" },
  { dao_QHelpContentModel_data, "data( self : QHelpContentModel, index : QModelIndex, role : int )=>QVariant" },
  { dao_QHelpContentModel_index, "index( self : QHelpContentModel, row : int, column : int, parent : QModelIndex|null=null )=>QModelIndex" },
  { dao_QHelpContentModel_isCreatingContents, "isCreatingContents( self : QHelpContentModel )=>int" },
  { dao_QHelpContentModel_parent, "parent( self : QHelpContentModel, index : QModelIndex )=>QModelIndex" },
  { dao_QHelpContentModel_rowCount, "rowCount( self : QHelpContentModel, parent : QModelIndex|null=null )=>int" },
  { NULL, NULL }
};
static void Dao_QHelpContentModel_Delete( void *self )
{
	delete (QHelpContentModel*) self;
}
void* dao_cast_QHelpContentModel_to_QAbstractItemModel( void *data )
{
	return (QAbstractItemModel*)(QHelpContentModel*)data;
}

static DaoTypeBase QHelpContentModel_Typer = 
{ "QHelpContentModel", NULL, 
  dao_QHelpContentModel_Nums,
  dao_QHelpContentModel_Meths, 
  { dao_QAbstractItemModel_Typer, 0 },
  { dao_cast_QHelpContentModel_to_QAbstractItemModel,0 },
  Dao_QHelpContentModel_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpContentModel_Typer = & QHelpContentModel_Typer;
static void dao_QHelpContentModel_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QHelpContentModel *to2 = qobject_cast<QHelpContentModel*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QHelpContentModel_Typer );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentModel_columnCount( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentModel* self= (QHelpContentModel*) DValue_CastCData( _p[0], dao_QHelpContentModel_Typer );
  QModelIndex* parent= (QModelIndex*) DValue_CastCData( _p[1], dao_QModelIndex_Typer );
  int _columnCount;
  if(_n<=1) _columnCount = self->QHelpContentModel::columnCount(  );
  else _columnCount = self->QHelpContentModel::columnCount( *parent );
  DaoContext_PutInteger( _ctx, (int) _columnCount );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentModel_contentItemAt( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentModel* self= (QHelpContentModel*) DValue_CastCData( _p[0], dao_QHelpContentModel_Typer );
  QModelIndex* index= (QModelIndex*) DValue_CastCData( _p[1], dao_QModelIndex_Typer );
  QHelpContentItem* _contentItemAt = self->QHelpContentModel::contentItemAt( *index );
  DaoContext_WrapCData( _ctx, (void*) _contentItemAt, dao_QHelpContentItem_Typer );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentModel_createContents( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentModel* self= (QHelpContentModel*) DValue_CastCData( _p[0], dao_QHelpContentModel_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString customFilterName( _mbs1 );
  self->QHelpContentModel::createContents( customFilterName );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentModel_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentModel* self= (QHelpContentModel*) DValue_CastCData( _p[0], dao_QHelpContentModel_Typer );
  QModelIndex* index= (QModelIndex*) DValue_CastCData( _p[1], dao_QModelIndex_Typer );
  int role= (int) _p[2]->v.i;
  QVariant _data = self->QHelpContentModel::data( *index, role );
  DaoContext_PutCData( _ctx, (void*)new QVariant( _data ), dao_QVariant_Typer );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentModel_index( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentModel* self= (QHelpContentModel*) DValue_CastCData( _p[0], dao_QHelpContentModel_Typer );
  int row= (int) _p[1]->v.i;
  int column= (int) _p[2]->v.i;
  QModelIndex* parent= (QModelIndex*) DValue_CastCData( _p[3], dao_QModelIndex_Typer );
  QModelIndex _index;
  if(_n<=3) _index = self->QHelpContentModel::index( row, column );
  else _index = self->QHelpContentModel::index( row, column, *parent );
  DaoContext_PutCData( _ctx, (void*)new QModelIndex( _index ), dao_QModelIndex_Typer );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentModel_isCreatingContents( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentModel* self= (QHelpContentModel*) DValue_CastCData( _p[0], dao_QHelpContentModel_Typer );
  bool _isCreatingContents = self->QHelpContentModel::isCreatingContents(  );
  DaoContext_PutInteger( _ctx, (int) _isCreatingContents );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentModel_parent( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentModel* self= (QHelpContentModel*) DValue_CastCData( _p[0], dao_QHelpContentModel_Typer );
  QModelIndex* index= (QModelIndex*) DValue_CastCData( _p[1], dao_QModelIndex_Typer );
  QModelIndex _parent = self->QHelpContentModel::parent( *index );
  DaoContext_PutCData( _ctx, (void*)new QModelIndex( _parent ), dao_QModelIndex_Typer );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentModel_rowCount( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentModel* self= (QHelpContentModel*) DValue_CastCData( _p[0], dao_QHelpContentModel_Typer );
  QModelIndex* parent= (QModelIndex*) DValue_CastCData( _p[1], dao_QModelIndex_Typer );
  int _rowCount;
  if(_n<=1) _rowCount = self->QHelpContentModel::rowCount(  );
  else _rowCount = self->QHelpContentModel::rowCount( *parent );
  DaoContext_PutInteger( _ctx, (int) _rowCount );
}

/*  qhelpcontentwidget.h */


static DaoNumItem dao_QHelpContentWidget_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHelpContentWidget_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpContentWidget_indexOf( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpContentWidget_Meths[] = 
{
  { dao_QHelpContentWidget_qobject_cast, "qobject_cast( object : QObject )=>QHelpContentWidget" },
  { dao_QHelpContentWidget_indexOf, "indexOf( self : QHelpContentWidget, link : QUrl )=>QModelIndex" },
  { NULL, NULL }
};
static void Dao_QHelpContentWidget_Delete( void *self )
{
	delete (QHelpContentWidget*) self;
}
void* dao_cast_QHelpContentWidget_to_QTreeView( void *data )
{
	return (QTreeView*)(QHelpContentWidget*)data;
}

static DaoTypeBase QHelpContentWidget_Typer = 
{ "QHelpContentWidget", NULL, 
  dao_QHelpContentWidget_Nums,
  dao_QHelpContentWidget_Meths, 
  { dao_QTreeView_Typer, 0 },
  { dao_cast_QHelpContentWidget_to_QTreeView,0 },
  Dao_QHelpContentWidget_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpContentWidget_Typer = & QHelpContentWidget_Typer;
static void dao_QHelpContentWidget_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData( _p[0], dao_QObject_Typer );
  QHelpContentWidget *to = qobject_cast<QHelpContentWidget*>( from );
  DaoContext_WrapCData( _ctx, to, dao_QHelpContentWidget_Typer );
}
/* qhelpcontentwidget.h */
static void dao_QHelpContentWidget_indexOf( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpContentWidget* self= (QHelpContentWidget*) DValue_CastCData( _p[0], dao_QHelpContentWidget_Typer );
  QUrl* link= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  QModelIndex _indexOf = self->QHelpContentWidget::indexOf( *link );
  DaoContext_PutCData( _ctx, (void*)new QModelIndex( _indexOf ), dao_QModelIndex_Typer );
}

/*  qhelpcontentwidget.h */


static DaoNumItem dao_QHelpDBReader_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QHelpDBReader_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QHelpDBReader_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QHelpDBReader_Typer = 
{ "QHelpDBReader", NULL, 
  dao_QHelpDBReader_Nums,
  dao_QHelpDBReader_Meths, 
  { 0 },
  { 0 },
  Dao_QHelpDBReader_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpDBReader_Typer = & QHelpDBReader_Typer;

/*  qhelpenginecore.h */


static DaoNumItem dao_QHelpEngineCore_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHelpEngineCore_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_QHelpEngineCore( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_QHelpEngineCore_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_addCustomFilter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_autoSaveFilter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_collectionFile( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_copyCollectionFile( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_currentFilter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_customFilters( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_customValue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_documentationFileName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_error( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_fileData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_filterAttributes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_filterAttributes_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_findFile( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_metaData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_namespaceName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_registerDocumentation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_registeredDocumentations( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_removeCustomFilter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_removeCustomValue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_setAutoSaveFilter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_setCollectionFile( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_setCurrentFilter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_setCustomValue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_setupData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngineCore_unregisterDocumentation( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpEngineCore_Meths[] = 
{
  { dao_QHelpEngineCore_qobject_cast, "qobject_cast( object : QObject )=>QHelpEngineCore" },
  { dao_QHelpEngineCore_QHelpEngineCore, "QHelpEngineCore( helpEngineCorePrivate : QHelpEngineCorePrivate, parent : QObject )=>QHelpEngineCore" },
  { dao_QHelpEngineCore_QHelpEngineCore_dao_2, "QHelpEngineCore( collectionFile : string, parent : QObject|null=null )=>QHelpEngineCore" },
  { dao_QHelpEngineCore_addCustomFilter, "addCustomFilter( self : QHelpEngineCore, filterName : string, attributes : QStringList )=>int" },
  { dao_QHelpEngineCore_autoSaveFilter, "autoSaveFilter( self : QHelpEngineCore )=>int" },
  { dao_QHelpEngineCore_collectionFile, "collectionFile( self : QHelpEngineCore )=>string" },
  { dao_QHelpEngineCore_copyCollectionFile, "copyCollectionFile( self : QHelpEngineCore, fileName : string )=>int" },
  { dao_QHelpEngineCore_currentFilter, "currentFilter( self : QHelpEngineCore )=>string" },
  { dao_QHelpEngineCore_customFilters, "customFilters( self : QHelpEngineCore )=>QStringList" },
  { dao_QHelpEngineCore_customValue, "customValue( self : QHelpEngineCore, key : string, defaultValue : QVariant|null=null )=>QVariant" },
  { dao_QHelpEngineCore_documentationFileName, "documentationFileName( self : QHelpEngineCore, namespaceName : string )=>string" },
  { dao_QHelpEngineCore_error, "error( self : QHelpEngineCore )=>string" },
  { dao_QHelpEngineCore_fileData, "fileData( self : QHelpEngineCore, url : QUrl )=>string" },
  { dao_QHelpEngineCore_filterAttributes, "filterAttributes( self : QHelpEngineCore )=>QStringList" },
  { dao_QHelpEngineCore_filterAttributes_dao_2, "filterAttributes( self : QHelpEngineCore, filterName : string )=>QStringList" },
  { dao_QHelpEngineCore_findFile, "findFile( self : QHelpEngineCore, url : QUrl )=>QUrl" },
  { dao_QHelpEngineCore_metaData, "metaData( documentationFileName : string, name : string )=>QVariant" },
  { dao_QHelpEngineCore_namespaceName, "namespaceName( documentationFileName : string )=>string" },
  { dao_QHelpEngineCore_registerDocumentation, "registerDocumentation( self : QHelpEngineCore, documentationFileName : string )=>int" },
  { dao_QHelpEngineCore_registeredDocumentations, "registeredDocumentations( self : QHelpEngineCore )=>QStringList" },
  { dao_QHelpEngineCore_removeCustomFilter, "removeCustomFilter( self : QHelpEngineCore, filterName : string )=>int" },
  { dao_QHelpEngineCore_removeCustomValue, "removeCustomValue( self : QHelpEngineCore, key : string )=>int" },
  { dao_QHelpEngineCore_setAutoSaveFilter, "setAutoSaveFilter( self : QHelpEngineCore, save : int )" },
  { dao_QHelpEngineCore_setCollectionFile, "setCollectionFile( self : QHelpEngineCore, fileName : string )" },
  { dao_QHelpEngineCore_setCurrentFilter, "setCurrentFilter( self : QHelpEngineCore, filterName : string )" },
  { dao_QHelpEngineCore_setCustomValue, "setCustomValue( self : QHelpEngineCore, key : string, value : QVariant )=>int" },
  { dao_QHelpEngineCore_setupData, "setupData( self : QHelpEngineCore )=>int" },
  { dao_QHelpEngineCore_unregisterDocumentation, "unregisterDocumentation( self : QHelpEngineCore, namespaceName : string )=>int" },
  { NULL, NULL }
};
static void Dao_QHelpEngineCore_Delete( void *self )
{
	delete (QHelpEngineCore*) self;
}
void* dao_cast_QHelpEngineCore_to_QObject( void *data )
{
	return (QObject*)(QHelpEngineCore*)data;
}

static DaoTypeBase QHelpEngineCore_Typer = 
{ "QHelpEngineCore", NULL, 
  dao_QHelpEngineCore_Nums,
  dao_QHelpEngineCore_Meths, 
  { dao_QObject_Typer, 0 },
  { dao_cast_QHelpEngineCore_to_QObject,0 },
  Dao_QHelpEngineCore_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpEngineCore_Typer = & QHelpEngineCore_Typer;
static void dao_QHelpEngineCore_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QHelpEngineCore *to2 = qobject_cast<QHelpEngineCore*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QHelpEngineCore_Typer );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_QHelpEngineCore( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCorePrivate* helpEngineCorePrivate= (QHelpEngineCorePrivate*) DValue_CastCData( _p[0], dao_QHelpEngineCorePrivate_Typer );
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QHelpEngineCore *_self = DaoCxx_QHelpEngineCore_New( helpEngineCorePrivate, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_QHelpEngineCore_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString collectionFile( _mbs0 );
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QHelpEngineCore *_self = DaoCxx_QHelpEngineCore_New( collectionFile, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_addCustomFilter( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString filterName( _mbs1 );
  QStringList* attributes= (QStringList*) DValue_CastCData( _p[2], dao_QStringList_Typer );
  bool _addCustomFilter = self->QHelpEngineCore::addCustomFilter( filterName, *attributes );
  DaoContext_PutInteger( _ctx, (int) _addCustomFilter );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_autoSaveFilter( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  bool _autoSaveFilter = self->QHelpEngineCore::autoSaveFilter(  );
  DaoContext_PutInteger( _ctx, (int) _autoSaveFilter );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_collectionFile( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  QString _collectionFile = self->QHelpEngineCore::collectionFile(  );
  DaoContext_PutMBString( _ctx, _collectionFile.toLocal8Bit().data() );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_copyCollectionFile( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString fileName( _mbs1 );
  bool _copyCollectionFile = self->QHelpEngineCore::copyCollectionFile( fileName );
  DaoContext_PutInteger( _ctx, (int) _copyCollectionFile );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_currentFilter( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  QString _currentFilter = self->QHelpEngineCore::currentFilter(  );
  DaoContext_PutMBString( _ctx, _currentFilter.toLocal8Bit().data() );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_customFilters( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  QStringList _customFilters = self->QHelpEngineCore::customFilters(  );
  DaoContext_PutCData( _ctx, (void*)new QStringList( _customFilters ), dao_QStringList_Typer );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_customValue( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString key( _mbs1 );
  QVariant* defaultValue= (QVariant*) DValue_CastCData( _p[2], dao_QVariant_Typer );
  QVariant _customValue;
  if(_n<=2) _customValue = self->QHelpEngineCore::customValue( key );
  else _customValue = self->QHelpEngineCore::customValue( key, *defaultValue );
  DaoContext_PutCData( _ctx, (void*)new QVariant( _customValue ), dao_QVariant_Typer );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_documentationFileName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString namespaceName( _mbs1 );
  QString _documentationFileName = self->QHelpEngineCore::documentationFileName( namespaceName );
  DaoContext_PutMBString( _ctx, _documentationFileName.toLocal8Bit().data() );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_error( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  QString _error = self->QHelpEngineCore::error(  );
  DaoContext_PutMBString( _ctx, _error.toLocal8Bit().data() );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_fileData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  QByteArray _fileData = self->QHelpEngineCore::fileData( *url );
  DaoContext_PutMBString( _ctx, _fileData.data() );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_filterAttributes( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  QStringList _filterAttributes = self->QHelpEngineCore::filterAttributes(  );
  DaoContext_PutCData( _ctx, (void*)new QStringList( _filterAttributes ), dao_QStringList_Typer );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_filterAttributes_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString filterName( _mbs1 );
  QStringList _filterAttributes = self->QHelpEngineCore::filterAttributes( filterName );
  DaoContext_PutCData( _ctx, (void*)new QStringList( _filterAttributes ), dao_QStringList_Typer );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_findFile( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  QUrl _findFile = self->QHelpEngineCore::findFile( *url );
  DaoContext_PutCData( _ctx, (void*)new QUrl( _findFile ), dao_QUrl_Typer );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_metaData( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString documentationFileName( _mbs0 );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  QVariant _metaData = QHelpEngineCore::metaData( documentationFileName, name );
  DaoContext_PutCData( _ctx, (void*)new QVariant( _metaData ), dao_QVariant_Typer );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_namespaceName( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString documentationFileName( _mbs0 );
  QString _namespaceName = QHelpEngineCore::namespaceName( documentationFileName );
  DaoContext_PutMBString( _ctx, _namespaceName.toLocal8Bit().data() );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_registerDocumentation( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString documentationFileName( _mbs1 );
  bool _registerDocumentation = self->QHelpEngineCore::registerDocumentation( documentationFileName );
  DaoContext_PutInteger( _ctx, (int) _registerDocumentation );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_registeredDocumentations( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  QStringList _registeredDocumentations = self->QHelpEngineCore::registeredDocumentations(  );
  DaoContext_PutCData( _ctx, (void*)new QStringList( _registeredDocumentations ), dao_QStringList_Typer );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_removeCustomFilter( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString filterName( _mbs1 );
  bool _removeCustomFilter = self->QHelpEngineCore::removeCustomFilter( filterName );
  DaoContext_PutInteger( _ctx, (int) _removeCustomFilter );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_removeCustomValue( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString key( _mbs1 );
  bool _removeCustomValue = self->QHelpEngineCore::removeCustomValue( key );
  DaoContext_PutInteger( _ctx, (int) _removeCustomValue );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_setAutoSaveFilter( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  bool save= (bool) _p[1]->v.i;
  self->QHelpEngineCore::setAutoSaveFilter( save );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_setCollectionFile( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString fileName( _mbs1 );
  self->QHelpEngineCore::setCollectionFile( fileName );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_setCurrentFilter( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString filterName( _mbs1 );
  self->QHelpEngineCore::setCurrentFilter( filterName );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_setCustomValue( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString key( _mbs1 );
  QVariant* value= (QVariant*) DValue_CastCData( _p[2], dao_QVariant_Typer );
  bool _setCustomValue = self->QHelpEngineCore::setCustomValue( key, *value );
  DaoContext_PutInteger( _ctx, (int) _setCustomValue );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_setupData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  bool _setupData = self->QHelpEngineCore::setupData(  );
  DaoContext_PutInteger( _ctx, (int) _setupData );
}
/* qhelpenginecore.h */
static void dao_QHelpEngineCore_unregisterDocumentation( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* self= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString namespaceName( _mbs1 );
  bool _unregisterDocumentation = self->QHelpEngineCore::unregisterDocumentation( namespaceName );
  DaoContext_PutInteger( _ctx, (int) _unregisterDocumentation );
}

/*  qhelpengine.h */


static DaoNumItem dao_QHelpEngine_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHelpEngine_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngine_QHelpEngine( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngine_contentModel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngine_contentWidget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngine_indexModel( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngine_indexWidget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpEngine_searchEngine( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpEngine_Meths[] = 
{
  { dao_QHelpEngine_qobject_cast, "qobject_cast( object : QObject )=>QHelpEngine" },
  { dao_QHelpEngine_QHelpEngine, "QHelpEngine( collectionFile : string, parent : QObject|null=null )=>QHelpEngine" },
  { dao_QHelpEngine_contentModel, "contentModel( self : QHelpEngine )=>QHelpContentModel" },
  { dao_QHelpEngine_contentWidget, "contentWidget( self : QHelpEngine )=>QHelpContentWidget" },
  { dao_QHelpEngine_indexModel, "indexModel( self : QHelpEngine )=>QHelpIndexModel" },
  { dao_QHelpEngine_indexWidget, "indexWidget( self : QHelpEngine )=>QHelpIndexWidget" },
  { dao_QHelpEngine_searchEngine, "searchEngine( self : QHelpEngine )=>QHelpSearchEngine" },
  { NULL, NULL }
};
static void Dao_QHelpEngine_Delete( void *self )
{
	delete (QHelpEngine*) self;
}
void* dao_cast_QHelpEngine_to_QHelpEngineCore( void *data )
{
	return (QHelpEngineCore*)(QHelpEngine*)data;
}

static DaoTypeBase QHelpEngine_Typer = 
{ "QHelpEngine", NULL, 
  dao_QHelpEngine_Nums,
  dao_QHelpEngine_Meths, 
  { dao_QHelpEngineCore_Typer, 0 },
  { dao_cast_QHelpEngine_to_QHelpEngineCore,0 },
  Dao_QHelpEngine_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpEngine_Typer = & QHelpEngine_Typer;
static void dao_QHelpEngine_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QHelpEngine *to2 = qobject_cast<QHelpEngine*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QHelpEngine_Typer );
}
/* qhelpengine.h */
static void dao_QHelpEngine_QHelpEngine( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString collectionFile( _mbs0 );
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QHelpEngine *_self = DaoCxx_QHelpEngine_New( collectionFile, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhelpengine.h */
static void dao_QHelpEngine_contentModel( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngine* self= (QHelpEngine*) DValue_CastCData( _p[0], dao_QHelpEngine_Typer );
  QHelpContentModel* _contentModel = self->QHelpEngine::contentModel(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _contentModel );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QHelpContentModel_InitSS( (QHelpContentModel*) _contentModel );
    DaoContext_WrapCData( _ctx, (void*) _contentModel, dao_QHelpContentModel_Typer );
  }
}
/* qhelpengine.h */
static void dao_QHelpEngine_contentWidget( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngine* self= (QHelpEngine*) DValue_CastCData( _p[0], dao_QHelpEngine_Typer );
  QHelpContentWidget* _contentWidget = self->QHelpEngine::contentWidget(  );
  DaoContext_WrapCData( _ctx, (void*) _contentWidget, dao_QHelpContentWidget_Typer );
}
/* qhelpengine.h */
static void dao_QHelpEngine_indexModel( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngine* self= (QHelpEngine*) DValue_CastCData( _p[0], dao_QHelpEngine_Typer );
  QHelpIndexModel* _indexModel = self->QHelpEngine::indexModel(  );
  DaoContext_WrapCData( _ctx, (void*) _indexModel, dao_QHelpIndexModel_Typer );
}
/* qhelpengine.h */
static void dao_QHelpEngine_indexWidget( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngine* self= (QHelpEngine*) DValue_CastCData( _p[0], dao_QHelpEngine_Typer );
  QHelpIndexWidget* _indexWidget = self->QHelpEngine::indexWidget(  );
  DaoContext_WrapCData( _ctx, (void*) _indexWidget, dao_QHelpIndexWidget_Typer );
}
/* qhelpengine.h */
static void dao_QHelpEngine_searchEngine( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngine* self= (QHelpEngine*) DValue_CastCData( _p[0], dao_QHelpEngine_Typer );
  QHelpSearchEngine* _searchEngine = self->QHelpEngine::searchEngine(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _searchEngine );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QHelpSearchEngine_InitSS( (QHelpSearchEngine*) _searchEngine );
    DaoContext_WrapCData( _ctx, (void*) _searchEngine, dao_QHelpSearchEngine_Typer );
  }
}

/*  qhelpenginecore.h */


static DaoNumItem dao_QHelpEngineCorePrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QHelpEngineCorePrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QHelpEngineCorePrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QHelpEngineCorePrivate_Typer = 
{ "QHelpEngineCorePrivate", NULL, 
  dao_QHelpEngineCorePrivate_Nums,
  dao_QHelpEngineCorePrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QHelpEngineCorePrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpEngineCorePrivate_Typer = & QHelpEngineCorePrivate_Typer;

/*  qhelpcontentwidget.h */


static DaoNumItem dao_QHelpEnginePrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QHelpEnginePrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QHelpEnginePrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QHelpEnginePrivate_Typer = 
{ "QHelpEnginePrivate", NULL, 
  dao_QHelpEnginePrivate_Nums,
  dao_QHelpEnginePrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QHelpEnginePrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpEnginePrivate_Typer = & QHelpEnginePrivate_Typer;

/*  qhelpindexwidget.h */


static DaoNumItem dao_QHelpIndexModel_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHelpIndexModel_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpIndexModel_createIndex( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpIndexModel_filter( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpIndexModel_isCreatingIndex( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpIndexModel_Meths[] = 
{
  { dao_QHelpIndexModel_qobject_cast, "qobject_cast( object : QObject )=>QHelpIndexModel" },
  { dao_QHelpIndexModel_createIndex, "createIndex( self : QHelpIndexModel, customFilterName : string )" },
  { dao_QHelpIndexModel_filter, "filter( self : QHelpIndexModel, filter : string, wildcard : string|null=null )=>QModelIndex" },
  { dao_QHelpIndexModel_isCreatingIndex, "isCreatingIndex( self : QHelpIndexModel )=>int" },
  { NULL, NULL }
};
void* dao_cast_QHelpIndexModel_to_QStringListModel( void *data )
{
	return (QStringListModel*)(QHelpIndexModel*)data;
}

static DaoTypeBase QHelpIndexModel_Typer = 
{ "QHelpIndexModel", NULL, 
  dao_QHelpIndexModel_Nums,
  dao_QHelpIndexModel_Meths, 
  { dao_QStringListModel_Typer, 0 },
  { dao_cast_QHelpIndexModel_to_QStringListModel,0 },
  NULL,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpIndexModel_Typer = & QHelpIndexModel_Typer;
static void dao_QHelpIndexModel_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData( _p[0], dao_QObject_Typer );
  QHelpIndexModel *to = qobject_cast<QHelpIndexModel*>( from );
  DaoContext_WrapCData( _ctx, to, dao_QHelpIndexModel_Typer );
}
/* qhelpindexwidget.h */
static void dao_QHelpIndexModel_createIndex( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpIndexModel* self= (QHelpIndexModel*) DValue_CastCData( _p[0], dao_QHelpIndexModel_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString customFilterName( _mbs1 );
  self->QHelpIndexModel::createIndex( customFilterName );
}
/* qhelpindexwidget.h */
static void dao_QHelpIndexModel_filter( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpIndexModel* self= (QHelpIndexModel*) DValue_CastCData( _p[0], dao_QHelpIndexModel_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString filter( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString wildcard( _mbs2 );
  QModelIndex _filter;
  if(_n<=2) _filter = self->QHelpIndexModel::filter( filter );
  else _filter = self->QHelpIndexModel::filter( filter, wildcard );
  DaoContext_PutCData( _ctx, (void*)new QModelIndex( _filter ), dao_QModelIndex_Typer );
}
/* qhelpindexwidget.h */
static void dao_QHelpIndexModel_isCreatingIndex( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpIndexModel* self= (QHelpIndexModel*) DValue_CastCData( _p[0], dao_QHelpIndexModel_Typer );
  bool _isCreatingIndex = self->QHelpIndexModel::isCreatingIndex(  );
  DaoContext_PutInteger( _ctx, (int) _isCreatingIndex );
}

/*  qhelpindexwidget.h */


static DaoNumItem dao_QHelpIndexWidget_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHelpIndexWidget_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpIndexWidget_activateCurrentItem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpIndexWidget_filterIndices( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpIndexWidget_Meths[] = 
{
  { dao_QHelpIndexWidget_qobject_cast, "qobject_cast( object : QObject )=>QHelpIndexWidget" },
  { dao_QHelpIndexWidget_activateCurrentItem, "activateCurrentItem( self : QHelpIndexWidget )" },
  { dao_QHelpIndexWidget_filterIndices, "filterIndices( self : QHelpIndexWidget, filter : string, wildcard : string|null=null )" },
  { NULL, NULL }
};
static void Dao_QHelpIndexWidget_Delete( void *self )
{
	delete (QHelpIndexWidget*) self;
}
void* dao_cast_QHelpIndexWidget_to_QListView( void *data )
{
	return (QListView*)(QHelpIndexWidget*)data;
}

static DaoTypeBase QHelpIndexWidget_Typer = 
{ "QHelpIndexWidget", NULL, 
  dao_QHelpIndexWidget_Nums,
  dao_QHelpIndexWidget_Meths, 
  { dao_QListView_Typer, 0 },
  { dao_cast_QHelpIndexWidget_to_QListView,0 },
  Dao_QHelpIndexWidget_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpIndexWidget_Typer = & QHelpIndexWidget_Typer;
static void dao_QHelpIndexWidget_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData( _p[0], dao_QObject_Typer );
  QHelpIndexWidget *to = qobject_cast<QHelpIndexWidget*>( from );
  DaoContext_WrapCData( _ctx, to, dao_QHelpIndexWidget_Typer );
}
/* qhelpindexwidget.h */
static void dao_QHelpIndexWidget_activateCurrentItem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpIndexWidget* self= (QHelpIndexWidget*) DValue_CastCData( _p[0], dao_QHelpIndexWidget_Typer );
  self->QHelpIndexWidget::activateCurrentItem(  );
}
/* qhelpindexwidget.h */
static void dao_QHelpIndexWidget_filterIndices( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpIndexWidget* self= (QHelpIndexWidget*) DValue_CastCData( _p[0], dao_QHelpIndexWidget_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString filter( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString wildcard( _mbs2 );
  if(_n<=2) self->QHelpIndexWidget::filterIndices( filter );
  else self->QHelpIndexWidget::filterIndices( filter, wildcard );
}

/*  qhelpsearchengine.h */


static DaoNumItem dao_QHelpSearchEngine_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHelpSearchEngine_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchEngine_QHelpSearchEngine( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchEngine_cancelIndexing( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchEngine_cancelSearching( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchEngine_hitCount( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchEngine_queryWidget( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchEngine_reindexDocumentation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchEngine_resultWidget( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpSearchEngine_Meths[] = 
{
  { dao_QHelpSearchEngine_qobject_cast, "qobject_cast( object : QObject )=>QHelpSearchEngine" },
  { dao_QHelpSearchEngine_QHelpSearchEngine, "QHelpSearchEngine( helpEngine : QHelpEngineCore, parent : QObject|null=null )=>QHelpSearchEngine" },
  { dao_QHelpSearchEngine_cancelIndexing, "cancelIndexing( self : QHelpSearchEngine )" },
  { dao_QHelpSearchEngine_cancelSearching, "cancelSearching( self : QHelpSearchEngine )" },
  { dao_QHelpSearchEngine_hitCount, "hitCount( self : QHelpSearchEngine )=>int" },
  { dao_QHelpSearchEngine_queryWidget, "queryWidget( self : QHelpSearchEngine )=>QHelpSearchQueryWidget" },
  { dao_QHelpSearchEngine_reindexDocumentation, "reindexDocumentation( self : QHelpSearchEngine )" },
  { dao_QHelpSearchEngine_resultWidget, "resultWidget( self : QHelpSearchEngine )=>QHelpSearchResultWidget" },
  { NULL, NULL }
};
static void Dao_QHelpSearchEngine_Delete( void *self )
{
	delete (QHelpSearchEngine*) self;
}
void* dao_cast_QHelpSearchEngine_to_QObject( void *data )
{
	return (QObject*)(QHelpSearchEngine*)data;
}

static DaoTypeBase QHelpSearchEngine_Typer = 
{ "QHelpSearchEngine", NULL, 
  dao_QHelpSearchEngine_Nums,
  dao_QHelpSearchEngine_Meths, 
  { dao_QObject_Typer, 0 },
  { dao_cast_QHelpSearchEngine_to_QObject,0 },
  Dao_QHelpSearchEngine_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpSearchEngine_Typer = & QHelpSearchEngine_Typer;
static void dao_QHelpSearchEngine_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QHelpSearchEngine *to2 = qobject_cast<QHelpSearchEngine*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QHelpSearchEngine_Typer );
}
/* qhelpsearchengine.h */
static void dao_QHelpSearchEngine_QHelpSearchEngine( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpEngineCore* helpEngine= (QHelpEngineCore*) DValue_CastCData( _p[0], dao_QHelpEngineCore_Typer );
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QHelpSearchEngine *_self = DaoCxx_QHelpSearchEngine_New( helpEngine, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhelpsearchengine.h */
static void dao_QHelpSearchEngine_cancelIndexing( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchEngine* self= (QHelpSearchEngine*) DValue_CastCData( _p[0], dao_QHelpSearchEngine_Typer );
  self->QHelpSearchEngine::cancelIndexing(  );
}
/* qhelpsearchengine.h */
static void dao_QHelpSearchEngine_cancelSearching( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchEngine* self= (QHelpSearchEngine*) DValue_CastCData( _p[0], dao_QHelpSearchEngine_Typer );
  self->QHelpSearchEngine::cancelSearching(  );
}
/* qhelpsearchengine.h */
static void dao_QHelpSearchEngine_hitCount( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchEngine* self= (QHelpSearchEngine*) DValue_CastCData( _p[0], dao_QHelpSearchEngine_Typer );
  int _hitCount = self->QHelpSearchEngine::hitCount(  );
  DaoContext_PutInteger( _ctx, (int) _hitCount );
}
/* qhelpsearchengine.h */
static void dao_QHelpSearchEngine_queryWidget( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchEngine* self= (QHelpSearchEngine*) DValue_CastCData( _p[0], dao_QHelpSearchEngine_Typer );
  QHelpSearchQueryWidget* _queryWidget = self->QHelpSearchEngine::queryWidget(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _queryWidget );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QHelpSearchQueryWidget_InitSS( (QHelpSearchQueryWidget*) _queryWidget );
    DaoContext_WrapCData( _ctx, (void*) _queryWidget, dao_QHelpSearchQueryWidget_Typer );
  }
}
/* qhelpsearchengine.h */
static void dao_QHelpSearchEngine_reindexDocumentation( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchEngine* self= (QHelpSearchEngine*) DValue_CastCData( _p[0], dao_QHelpSearchEngine_Typer );
  self->QHelpSearchEngine::reindexDocumentation(  );
}
/* qhelpsearchengine.h */
static void dao_QHelpSearchEngine_resultWidget( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchEngine* self= (QHelpSearchEngine*) DValue_CastCData( _p[0], dao_QHelpSearchEngine_Typer );
  QHelpSearchResultWidget* _resultWidget = self->QHelpSearchEngine::resultWidget(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _resultWidget );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QHelpSearchResultWidget_InitSS( (QHelpSearchResultWidget*) _resultWidget );
    DaoContext_WrapCData( _ctx, (void*) _resultWidget, dao_QHelpSearchResultWidget_Typer );
  }
}

/*  qhelpsearchengine.h */


static DaoNumItem dao_QHelpSearchEngine_SearchHit_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QHelpSearchEngine_SearchHit_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QHelpSearchEngine_SearchHit_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QHelpSearchEngine_SearchHit_Typer = 
{ "QHelpSearchEngine_SearchHit", NULL, 
  dao_QHelpSearchEngine_SearchHit_Nums,
  dao_QHelpSearchEngine_SearchHit_Meths, 
  { 0 },
  { 0 },
  Dao_QHelpSearchEngine_SearchHit_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpSearchEngine_SearchHit_Typer = & QHelpSearchEngine_SearchHit_Typer;

/*  qhelpsearchengine.h */


static void dao_QHelpSearchQuery_GETF_fieldName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchQuery_SETF_fieldName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchQuery_GETF_wordList( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_QHelpSearchQuery_Nums[] =
{
  { "DEFAULT", DAO_INTEGER, QHelpSearchQuery::DEFAULT },
  { "FUZZY", DAO_INTEGER, QHelpSearchQuery::FUZZY },
  { "WITHOUT", DAO_INTEGER, QHelpSearchQuery::WITHOUT },
  { "PHRASE", DAO_INTEGER, QHelpSearchQuery::PHRASE },
  { "ALL", DAO_INTEGER, QHelpSearchQuery::ALL },
  { "ATLEAST", DAO_INTEGER, QHelpSearchQuery::ATLEAST },
  { NULL, 0, 0 }
};
static void dao_QHelpSearchQuery_QHelpSearchQuery( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchQuery_QHelpSearchQuery_dao_2( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpSearchQuery_Meths[] = 
{
  { dao_QHelpSearchQuery_GETF_fieldName, ".fieldName( self : QHelpSearchQuery )=>int" },
  { dao_QHelpSearchQuery_SETF_fieldName, ".fieldName=( self : QHelpSearchQuery, fieldName : int )" },
  { dao_QHelpSearchQuery_GETF_wordList, ".wordList( self : QHelpSearchQuery )=>QStringList" },
  { dao_QHelpSearchQuery_QHelpSearchQuery, "QHelpSearchQuery(  )=>QHelpSearchQuery" },
  { dao_QHelpSearchQuery_QHelpSearchQuery_dao_2, "QHelpSearchQuery( field : int, wordList : QStringList )=>QHelpSearchQuery" },
  { NULL, NULL }
};
static void Dao_QHelpSearchQuery_Delete( void *self )
{
	delete (QHelpSearchQuery*) self;
}

static DaoTypeBase QHelpSearchQuery_Typer = 
{ "QHelpSearchQuery", NULL, 
  dao_QHelpSearchQuery_Nums,
  dao_QHelpSearchQuery_Meths, 
  { 0 },
  { 0 },
  Dao_QHelpSearchQuery_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpSearchQuery_Typer = & QHelpSearchQuery_Typer;
static void dao_QHelpSearchQuery_GETF_fieldName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchQuery *self = (QHelpSearchQuery*)DValue_CastCData(_p[0],dao_QHelpSearchQuery_Typer);
  DaoContext_PutInteger( _ctx, (int) self->fieldName );
}
static void dao_QHelpSearchQuery_SETF_fieldName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchQuery *self = (QHelpSearchQuery*)DValue_CastCData(_p[0],dao_QHelpSearchQuery_Typer);
  self->fieldName = (QHelpSearchQuery::FieldName) _p[1]->v.i;
}
static void dao_QHelpSearchQuery_GETF_wordList( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchQuery *self = (QHelpSearchQuery*)DValue_CastCData(_p[0],dao_QHelpSearchQuery_Typer);
  DaoContext_WrapCData( _ctx, (void*)& self->wordList, dao_QStringList_Typer );
}
/* qhelpsearchengine.h */
static void dao_QHelpSearchQuery_QHelpSearchQuery( DaoContext *_ctx, DValue *_p[], int _n )
{
	QHelpSearchQuery *_self = Dao_QHelpSearchQuery_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QHelpSearchQuery_Typer );
}
/* qhelpsearchengine.h */
static void dao_QHelpSearchQuery_QHelpSearchQuery_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchQuery::FieldName field= (QHelpSearchQuery::FieldName) _p[0]->v.i;
  QStringList* wordList= (QStringList*) DValue_CastCData( _p[1], dao_QStringList_Typer );
	QHelpSearchQuery *_self = Dao_QHelpSearchQuery_New( field, *wordList );
	DaoContext_PutCData( _ctx, _self, dao_QHelpSearchQuery_Typer );
}

/*  qhelpsearchquerywidget.h */


static DaoNumItem dao_QHelpSearchQueryWidget_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHelpSearchQueryWidget_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchQueryWidget_QHelpSearchQueryWidget( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpSearchQueryWidget_Meths[] = 
{
  { dao_QHelpSearchQueryWidget_qobject_cast, "qobject_cast( object : QObject )=>QHelpSearchQueryWidget" },
  { dao_QHelpSearchQueryWidget_QHelpSearchQueryWidget, "QHelpSearchQueryWidget( parent : QWidget|null=null )=>QHelpSearchQueryWidget" },
  { NULL, NULL }
};
static void Dao_QHelpSearchQueryWidget_Delete( void *self )
{
	delete (QHelpSearchQueryWidget*) self;
}
void* dao_cast_QHelpSearchQueryWidget_to_QWidget( void *data )
{
	return (QWidget*)(QHelpSearchQueryWidget*)data;
}

static DaoTypeBase QHelpSearchQueryWidget_Typer = 
{ "QHelpSearchQueryWidget", NULL, 
  dao_QHelpSearchQueryWidget_Nums,
  dao_QHelpSearchQueryWidget_Meths, 
  { dao_QWidget_Typer, 0 },
  { dao_cast_QHelpSearchQueryWidget_to_QWidget,0 },
  Dao_QHelpSearchQueryWidget_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpSearchQueryWidget_Typer = & QHelpSearchQueryWidget_Typer;
static void dao_QHelpSearchQueryWidget_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QHelpSearchQueryWidget *to2 = qobject_cast<QHelpSearchQueryWidget*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QHelpSearchQueryWidget_Typer );
}
/* qhelpsearchquerywidget.h */
static void dao_QHelpSearchQueryWidget_QHelpSearchQueryWidget( DaoContext *_ctx, DValue *_p[], int _n )
{
  QWidget* parent= (QWidget*) DValue_CastCData( _p[0], dao_QWidget_Typer );
	DaoCxx_QHelpSearchQueryWidget *_self = DaoCxx_QHelpSearchQueryWidget_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  qhelpsearchresultwidget.h */


static DaoNumItem dao_QHelpSearchResultWidget_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHelpSearchResultWidget_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHelpSearchResultWidget_linkAt( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHelpSearchResultWidget_Meths[] = 
{
  { dao_QHelpSearchResultWidget_qobject_cast, "qobject_cast( object : QObject )=>QHelpSearchResultWidget" },
  { dao_QHelpSearchResultWidget_linkAt, "linkAt( self : QHelpSearchResultWidget, point : QPoint )=>QUrl" },
  { NULL, NULL }
};
static void Dao_QHelpSearchResultWidget_Delete( void *self )
{
	delete (QHelpSearchResultWidget*) self;
}
void* dao_cast_QHelpSearchResultWidget_to_QWidget( void *data )
{
	return (QWidget*)(QHelpSearchResultWidget*)data;
}

static DaoTypeBase QHelpSearchResultWidget_Typer = 
{ "QHelpSearchResultWidget", NULL, 
  dao_QHelpSearchResultWidget_Nums,
  dao_QHelpSearchResultWidget_Meths, 
  { dao_QWidget_Typer, 0 },
  { dao_cast_QHelpSearchResultWidget_to_QWidget,0 },
  Dao_QHelpSearchResultWidget_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QHelpSearchResultWidget_Typer = & QHelpSearchResultWidget_Typer;
static void dao_QHelpSearchResultWidget_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QHelpSearchResultWidget *to2 = qobject_cast<QHelpSearchResultWidget*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QHelpSearchResultWidget_Typer );
}
/* qhelpsearchresultwidget.h */
static void dao_QHelpSearchResultWidget_linkAt( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHelpSearchResultWidget* self= (QHelpSearchResultWidget*) DValue_CastCData( _p[0], dao_QHelpSearchResultWidget_Typer );
  QPoint* point= (QPoint*) DValue_CastCData( _p[1], dao_QPoint_Typer );
  QUrl _linkAt = self->QHelpSearchResultWidget::linkAt( *point );
  DaoContext_PutCData( _ctx, (void*)new QUrl( _linkAt ), dao_QUrl_Typer );
}

/*   */


static DaoNumItem dao_QPixmapCache_KeyData_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QPixmapCache_KeyData_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QPixmapCache_KeyData_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QPixmapCache_KeyData_Typer = 
{ "QPixmapCache_KeyData", NULL, 
  dao_QPixmapCache_KeyData_Nums,
  dao_QPixmapCache_KeyData_Meths, 
  { 0 },
  { 0 },
  Dao_QPixmapCache_KeyData_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTHELP *dao_QPixmapCache_KeyData_Typer = & QPixmapCache_KeyData_Typer;

#ifdef __cplusplus
}
#endif

